package com.wondersgroup.fjzlpt.yyzyzx.service.inter.yyzycx;

import com.alibaba.fastjson.JSONObject;

import java.util.Map;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * 床位信息查询接口
 * Created by sanma on 2017/8/7.
 */
public interface CwxxService {

    /**
     * 分页查询床位信息
     * @param map
     * @return
     */
    JSONObject pageQueryCwxxAll (Map map);
    
    /**
     * 查询所有数据并导出到Excel
     * @param map
     * @return
     */
    void queryAllForExcel(Map map, HttpServletRequest request, HttpServletResponse response);
}
